home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5642 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  811 b 

  1. Path: news.infobahnos.com!usenet
  2. From: Dylan Ritter <nina@infobahnos.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: IMPORTANT!!!!!!!!!!!!!!!!!!!!!
  5. Date: 3 Feb 1996 19:09:30 GMT
  6. Organization: Infobahn Online Services - Les services En Ligne Infobahn
  7. Message-ID: <4f0bta$80p@news.infobahnos.com>
  8. References: <4epb8s$9gp@reader2.ix.netcom.com>
  9. NNTP-Posting-Host: dialup1.infobahnos.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  15. printf ("print the slash : \\ ");
  16.  
  17. i.e. Use a double slash.  The printf function never prints the first 
  18. slash in a string (it's reserved for \t, \n, \a, etc.).  
  19.  
  20. You will have the same problem when you use similar functions to open 
  21. files, you'll have to use two slashes to specify a path.
  22.  
  23.  
  24.